﻿using System.Diagnostics;

namespace 中介者模式
{
   public class ConcreteClooeague1: Colleague
    {
        public void Send(string message)
        {
            Mediator.Send(message, this);
        }
        public void Notify(string message)
        {
            Debug.WriteLine("同事1 得到信息：" + message);
        }

       public ConcreteClooeague1(Mediator mediator) : base(mediator)
       {
       }
    }
}
